package com.delayqueue.common.enums;

public enum ExecuteResultType {

    SUCCESS(1, "完毕"),
    FAIL(2, "失败"),
    CYCLE(3, "循环");

    private int code;
    private String name;

    ExecuteResultType(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
